#!/bin/sh
#Script for database generation

tf=./db.txt
if [ ! -f $tf ]; then
    echo $tf not found
    exit
fi
python ./speakdbgen.py
sdb=./words.koi8-r.db
iconv -f koi8-r -t utf8 $sdb | gzip -f9 >./words.db
rm $sdb
